// ChildView.h : interface of the CChildView class
//


#pragma once


// CChildView window

class CChildView : public CWnd
{
// Construction
public:
	CChildView();

// Attributes
public:

// Operations
public:
	BOOL Create(CWnd* pParentWnd, LPCTSTR lpszBkImg, COLORREF crBk = 0);

// Overrides
protected:
	virtual BOOL PreTranslateMessage(MSG* pMsg);

// Implementation
public:
	virtual ~CChildView();

	// Generated message map functions
protected:
	afx_msg void OnPaint();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
private:
	CAutoPtr<Gdiplus::Bitmap> m_pbmpBkgnd;
	COLORREF			 m_clBkgnd;
};

